<style src="./add-invester.css" scoped></style>

<template lang="html">
<div class="invester-wrap">
  <div class="invester-menu ly-row-flex">
    <button class="btn btn-sm btn-primary" @click="showAddInvester = true">添加投顾信息</button>
  </div>
  <modal
    :title="'添加投顾信息'"
    ok-text="提交"
    cancel-text="取消"
    effect="fade"
    :small="true"
    :width="460"
    :show.sync="showAddInvester"
    :callback="evtAddInvester">
    <div slot="modal-body" class="modal-body">
      <form class="form-horizontal" role="form" v-el:add-form>
        <div class="form-group form-group-sm">
          <label class="col-sm-3 control-label">投顾uid</label>
          <div class="col-sm-9 text-left">
            <input type="text" class="form-control" v-model="invester.uid">
          </div>
        </div>
        <div class="form-group form-group-sm">
          <label class="col-sm-3 control-label">投顾姓名</label>
          <div class="col-sm-9 text-left">
            <input type="text" class="form-control" v-model="invester.name">
          </div>
        </div>
        <div class="form-group form-group-sm">
          <label class="col-sm-3 control-label">*投顾头像</label>
          <div class="col-sm-9 text-left">
            <input type="file" class="form-control" v-model="invester.img" v-el:invester-image>
          </div>
        </div>
        <div class="form-group form-group-sm">
          <label class="col-sm-3 control-label">*投顾人机构</label>
          <div class="col-sm-9 text-left">
            <input type="text" class="form-control" v-model="invester.org">
          </div>
        </div>
        <div class="form-group form-group-sm">
          <label class="col-sm-3 control-label">*执业证编号</label>
          <div class="col-sm-9 text-left">
            <input type="text" class="form-control" v-model="invester.cardNum">
          </div>
        </div>
      </form>
    </div>
  </modal>
</div>
</template>

<script src="./add-invester.js"></script>
